package com.wish.g01.financial.controller;

import com.wish.g01.base.entity.SfContract;
import com.wish.g01.base.service.ISfContractService;
import com.wish.g01.common.core.web.controller.BaseController;
import com.wish.g01.common.core.web.page.TableDataInfo;
import com.wish.g01.financial.common.AjaxResult;
import com.wish.g01.financial.dto.ResponseDetailCompanyInfoDto;
import com.wish.g01.financial.service.FinanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;


/**
 * @author 高元泰
 */
@RestController
@RequestMapping("financial")
public class FinancialController extends BaseController {

    @Resource
    FinanceService financeService;

    /**
     * 详情
     *
     */
    @RequestMapping("queryDetai")
    public ResponseDetailCompanyInfoDto queryResponseDetailCompanyInfoDto(Integer id){
       return  financeService.detailCompanyInfo(id);
    }


}
